package com.jadesoft.stock.rp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.jadesoft.ciadapter.library.JdPageHelper;

public class FormAction extends Action {

	@Override
	public ActionForward execute(ActionMapping arg0, ActionForm arg1,
			HttpServletRequest req, HttpServletResponse res) throws Exception {
		
		JdPageHelper helper = JdPageHelper.getHelper(req);
		helper.css_enqueue("forms");
		
		JdPageHelper.loadTemplate("form.ftl", null, res.getWriter(),req);
		
		return null;
	}
	
}
